package medical.demo.service.impl;

import com.demo.pojo.THisDepartment;
import medical.demo.mapper.THisDepartmentMapper;
import medical.demo.service.THisDepartmentService;
import org.springframework.stereotype.Service;

import javax.annotation.Resource;
import java.util.List;

@Service
public class THisDepartmentServiceImpl implements THisDepartmentService {

    @Resource
    private THisDepartmentMapper tHisDepartmentMapper;


    @Override
    public List<THisDepartment> GetAllTHisDepartment() {
        List<THisDepartment> list =tHisDepartmentMapper.selectList(null);
        return list;
    }
}
